const figlet = require('figlet')

exports.logStr = function () {
    let logS = ''
    figlet.text("Node App Run!",
        {
            font: "3D Diagonal",
            horizontalLayout: "default",
            verticalLayout: "default",
            width: 400,
            whitespaceBreak: true,
        },
        function (err, data) {
            if (err) {
                console.log("Something went wrong...");
                console.dir(err);
                return
            }
            console.log(data)
            logS = data
        })
    return logS
}
